package com.liu.helloworldsecurity.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author liuShanYang * @Date 2025 06 13 15 00
 **/
@RestController
@RequestMapping("/api")
public class HelloWorldController {
    @GetMapping("hello")
    public String helloWorld() {
        return "Hello World!";
    }
}
